import request from '@/utils/request'

export function getRankList(params) {
  return request({
    url: process.env.ADMIN_API + '/rank/getList',
    method: 'post',
    data: params
  })
}

export function addRank(params) {
  return request({
    url: process.env.ADMIN_API + '/rank/add',
    method: 'post',
    data: params
  })
}

export function editRank(params) {
  return request({
    url: process.env.ADMIN_API + '/rank/edit',
    method: 'post',
    data: params
  })
}

export function deleteBatchRank(params) {
  return request({
    url: process.env.ADMIN_API + '/rank/deleteBatch',
    method: 'post',
    data: params
  })
}


